﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200006D RID: 109
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AetherDivideTakeChallengeRewardCsReq : IMessage<AetherDivideTakeChallengeRewardCsReq>, IMessage, IEquatable<AetherDivideTakeChallengeRewardCsReq>, IDeepCloneable<AetherDivideTakeChallengeRewardCsReq>, IBufferMessage
	{
		// Token: 0x17000159 RID: 345
		// (get) Token: 0x060004C9 RID: 1225 RVA: 0x0000E939 File Offset: 0x0000CB39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AetherDivideTakeChallengeRewardCsReq> Parser
		{
			get
			{
				return AetherDivideTakeChallengeRewardCsReq._parser;
			}
		}

		// Token: 0x1700015A RID: 346
		// (get) Token: 0x060004CA RID: 1226 RVA: 0x0000E940 File Offset: 0x0000CB40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AetherDivideTakeChallengeRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700015B RID: 347
		// (get) Token: 0x060004CB RID: 1227 RVA: 0x0000E952 File Offset: 0x0000CB52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AetherDivideTakeChallengeRewardCsReq.Descriptor;
			}
		}

		// Token: 0x060004CC RID: 1228 RVA: 0x0000E959 File Offset: 0x0000CB59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideTakeChallengeRewardCsReq()
		{
		}

		// Token: 0x060004CD RID: 1229 RVA: 0x0000E961 File Offset: 0x0000CB61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideTakeChallengeRewardCsReq(AetherDivideTakeChallengeRewardCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060004CE RID: 1230 RVA: 0x0000E986 File Offset: 0x0000CB86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideTakeChallengeRewardCsReq Clone()
		{
			return new AetherDivideTakeChallengeRewardCsReq(this);
		}

		// Token: 0x1700015C RID: 348
		// (get) Token: 0x060004CF RID: 1231 RVA: 0x0000E98E File Offset: 0x0000CB8E
		// (set) Token: 0x060004D0 RID: 1232 RVA: 0x0000E996 File Offset: 0x0000CB96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x060004D1 RID: 1233 RVA: 0x0000E99F File Offset: 0x0000CB9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AetherDivideTakeChallengeRewardCsReq);
		}

		// Token: 0x060004D2 RID: 1234 RVA: 0x0000E9AD File Offset: 0x0000CBAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AetherDivideTakeChallengeRewardCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060004D3 RID: 1235 RVA: 0x0000E9DC File Offset: 0x0000CBDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060004D4 RID: 1236 RVA: 0x0000EA1B File Offset: 0x0000CC1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060004D5 RID: 1237 RVA: 0x0000EA23 File Offset: 0x0000CC23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060004D6 RID: 1238 RVA: 0x0000EA2C File Offset: 0x0000CC2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060004D7 RID: 1239 RVA: 0x0000EA60 File Offset: 0x0000CC60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060004D8 RID: 1240 RVA: 0x0000EA9E File Offset: 0x0000CC9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AetherDivideTakeChallengeRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060004D9 RID: 1241 RVA: 0x0000EACF File Offset: 0x0000CCCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060004DA RID: 1242 RVA: 0x0000EAD8 File Offset: 0x0000CCD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040001B9 RID: 441
		private static readonly MessageParser<AetherDivideTakeChallengeRewardCsReq> _parser = new MessageParser<AetherDivideTakeChallengeRewardCsReq>(() => new AetherDivideTakeChallengeRewardCsReq());

		// Token: 0x040001BA RID: 442
		private UnknownFieldSet _unknownFields;

		// Token: 0x040001BB RID: 443
		public const int ChallengeIdFieldNumber = 6;

		// Token: 0x040001BC RID: 444
		private uint challengeId_;
	}
}
